﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using System.ComponentModel;

namespace ASPNETMVCApplication.Areas.Supp.Models
{
    /// <summary>
    /// Class supplier model. Represents supplier
    /// </summary>
    public class SupplierModel
    {
        ///// <summary>
        /////  
        ///// </summary>
        [Required(ErrorMessage="Không bỏ trống")]
        [DisplayName("Supplier")]
        public int SupplierId { get; set; }

        //// <summary>
        //// 
        //// </summary>
         [Required(ErrorMessage="Không bỏ trống")]
        [DisplayName("Công ty")]
        public string CompanyName { get; set; }

         //// <summary>
         //// 
         //// </summary>
         [Required(ErrorMessage = "Không bỏ trống")]
        [DisplayName("Logo")]
        public string LogoUrl { get; set; }

         //// <summary>
         //// 
         //// </summary>
         [Required(ErrorMessage = "Không bỏ trống")]
        [DisplayName("Điện thoại")]
        public string CompanyPhone { get; set; }

         //// <summary>
         //// 
         //// </summary>
         [Required(ErrorMessage = "Không bỏ trống")]
        [DisplayName("Di động")]
        public string Mobilephone { get; set; }

         //// <summary>
         //// 
         //// </summary>
        [Required(ErrorMessage = "Không bỏ trống")]
        [DisplayName("Địa chỉ")]
        public string Address { get; set; }

        /// <summary>
        /// 
        /// </summary>
        [DisplayName("Yahoo")]
        public string YahooId { get; set; }

        /// <summary>
        /// 
        /// </summary>
        [DisplayName("Skype")]
        public string SkypeId { get; set; }

        /// <summary>
        ///
        /// </summary>
        [DisplayName("Tài khoản Google ")]
        public string GoogleId { get; set; }

        /// <summary>
        /// 
        /// </summary>
        [DisplayName("Tài khoản Facebook")]
        public string FacebookId { get; set; }

        /// <summary>
        /// 
        /// </summary>
        [DisplayName("Email ")]
        public string Email { get; set; }

        /// <summary>
        /// 
        /// </summary>
        [DisplayName("Tên tài khoản ")]
        public string UserName { get; set; }

        /// <summary>
        /// 
        /// </summary>
        [DisplayName("Mật khẩu ")]
        public string Password { get; set; }

        /// <summary>
        /// 
        /// </summary>
        [DisplayName("Mô tả")]
        public string Description { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string Version { get; set; }

        /// </summary>
        public int Status { get; set; }
        
    }
}